<div class="zs-body" data-ng-init="formInit('gzghfff', {
        keyField:'id',
        randomFields:['id'],
        orderObject:{id:0}
    }) && loadData('gzghfff');setConHei();">
    <div class="zs-map-tool">
        <div class="location">
            <a href="javascript:;">首页</a>
            <i class="right-arr"></i>
            <a href="javascript:;">资源管理</a>
            <i class="right-arr"></i>
            <a href="javascript:;">管护费发放</a>
        </div>
        <div class="option">
            <input type="button" class="zs-btn orange" value="新建" 
                ng-click="addRow('gzghfff') && openWindow('edit');"/>
            <input type="button" class="zs-btn orange" value="编辑" 
                ng-click="editRow('gzghfff', gzghfff.sRows[0]) && openWindow('edit')"/>
            <input type="button" class="zs-btn orange" value="删除 "
                ng-click="delEntitys('gzghfff')"/>
        </div>
    </div>
    <div class="zs-content" style="position:unset">
        <div class="zs-nice-tab idTabs">
			<div class="tool item" style="margin-left:6px;">
            	<!--<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="ID" ng-model="gzghfff.queryObject['id']"/>
                </span>
            	<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="市" ng-model="gzghfff.queryObject['shi']"/>
                </span>
            	<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="县" ng-model="gzghfff.queryObject['xian']"/>
                </span>
            	<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="乡" ng-model="gzghfff.queryObject['xiang']"/>
                </span>-->
            	<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="村" ng-model="gzghfff.queryObject['cun']"/>
                </span>
            	<!--<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="组" ng-model="gzghfff.queryObject['zu']"/>
                </span>
            	<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="面积（亩）" ng-model="gzghfff.queryObject['mianji']"/>
                </span>
            	<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="合同号" ng-model="gzghfff.queryObject['heth']"/>
                </span>
            	<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="兑现金额" ng-model="gzghfff.queryObject['dxje']"/>
                </span>-->
            	<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="领款人" ng-model="gzghfff.queryObject['lkr']"/>
                </span>
            	<!--<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="群众代表" ng-model="gzghfff.queryObject['qzdb']"/>
                </span>
				<span class="search-warpper">
                    <ag-Datebox id='qi_lkrq'  showcurday='true'
                       		class="zs-input" style="width:175px;height: 28px"
                       		ng-model="gzghfff.queryObject['lkrq']" >
				   	</ag-Datebox>
                </span>
            	<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="备注" ng-model="gzghfff.queryObject['beizhu']"/>
                </span>
            	<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="监督员" ng-model="gzghfff.queryObject['jdy']"/>
                </span>-->
            </div>
            <div class="operation item">
                <a class="ope-1" ng-click="loadData('gzghfff')"></a>
                <a class="ope-2"></a>
            </div>
            <div class="switch">
                
            </div>
        </div>
        <div class="date-container">
            <div id="zpgwd">
                <div class="zs-data-table">
                    <div class="container">
                        <table>
                            <thead>
                                <tr>
                                    <th>
                                        <input id="allCheckbox" type="checkbox"
                                            ng-click="selectAll('gzghfff','allCheckbox');" />
                                    </th>
									<!--<th>ID</th>
									<th>市</th>
									<th>县</th>
									<th>乡</th>-->
									<th>村</th>
									<!--<th>组</th>-->
									<th>面积（亩）</th>
									<th>合同号</th>
									<th>兑现金额</th>
									<th>领款人</th>
									<th>群众代表</th>
									<th>领款日期</th>
									<!--<th>备注</th>-->
									<th>监督员</th>
                                </tr>
                            </thead>
                            <tbody>
                                <tr ng-repeat="r in gzghfff.datas">
                                    <td>
                                        <input type="checkbox"
                                            ng-click="selectRow('gzghfff',r);"
                                            ng-model="r.selected" />
                                    </td>
									<!--  ID -->
            						<!--<td>
                                        <a ng-click="editRow('gzghfff',r) && openWindow('edit');">
                                            <label ng-bind="r.id"></label>
                                        </a>
                                   </td>-->
									<!--  市 -->
            						<!--<td>
                                        <a ng-click="editRow('gzghfff',r) && openWindow('edit');">
                                            <label ng-bind="r.shi"></label>
                                        </a>
                                   </td>-->
									<!--  县 -->
            						<!--<td>
                                        <a ng-click="editRow('gzghfff',r) && openWindow('edit');">
                                            <label ng-bind="r.xian"></label>
                                        </a>
                                   </td>-->
									<!--  乡 -->
            						<!--<td>
                                        <a ng-click="editRow('gzghfff',r) && openWindow('edit');">
                                            <label ng-bind="r.xiang"></label>
                                        </a>
                                   </td>-->
									<!--  村 -->
            						<td>
                                        <a ng-click="editRow('gzghfff',r) && openWindow('edit');">
                                            <label ng-bind="r.cun"></label>
                                        </a>
                                   </td>
									<!--  组 -->
            						<!--<td>
                                        <a ng-click="editRow('gzghfff',r) && openWindow('edit');">
                                            <label ng-bind="r.zu"></label>
                                        </a>
                                   </td>-->
									<!--  面积（亩） -->
            						<td>
                                        <a ng-click="editRow('gzghfff',r) && openWindow('edit');">
                                            <label ng-bind="r.mianji"></label>
                                        </a>
                                   </td>
									<!--  合同号 -->
            						<td>
                                        <a ng-click="editRow('gzghfff',r) && openWindow('edit');">
                                            <label ng-bind="r.heth"></label>
                                        </a>
                                   </td>
									<!--  兑现金额 -->
            						<td>
                                        <a ng-click="editRow('gzghfff',r) && openWindow('edit');">
                                            <label ng-bind="r.dxje"></label>
                                        </a>
                                   </td>
									<!--  领款人 -->
            						<td>
                                        <a ng-click="editRow('gzghfff',r) && openWindow('edit');">
                                            <label ng-bind="r.lkr"></label>
                                        </a>
                                   </td>
									<!--  群众代表 -->
            						<td>
                                        <a ng-click="editRow('gzghfff',r) && openWindow('edit');">
                                            <label ng-bind="r.qzdb"></label>
                                        </a>
                                   </td>
									<!--  领款日期 -->
								   <td>
                                        <a ng-click="editRow('gzghfff',r) && openWindow('edit');">
                                            <label ng-bind="r.lkrq | asDate | date:'yyyy-MM-dd'"></label>
                                        </a>
                                   </td>
									<!--  备注 -->
            						<!--<td>
                                        <a ng-click="editRow('gzghfff',r) && openWindow('edit');">
                                            <label ng-bind="r.beizhu"></label>
                                        </a>
                                   </td>-->
									<!--  监督员 -->
            						<td>
                                        <a ng-click="editRow('gzghfff',r) && openWindow('edit');">
                                            <label ng-bind="r.jdy"></label>
                                        </a>
                                   </td>
                                </tr>
                            </tbody>
                        </table>
                    </div>
                </div>
                <div class="zs-pagination-box">
                    <ag-Page fn='gzghfff'></ag-Page>
                </div>
            </div>
        </div>

        <div ag-Window id="edit" title="管护费发放编辑" width='560px' height='420px'>
            <div class="zs-form-tab ibox">
                <form name="form" novalidate>
                    <table width="100%">
                        <tbody>
          					<!--<tr>
                                <td class="text" width="20%">ID</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzghfff.editRow.id" class="zs-input" />
                                </td>
                            </tr>
          					<tr>
                                <td class="text" width="20%">市</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzghfff.editRow.shi" class="zs-input" />
                                </td>
                            </tr>
          					<tr>
                                <td class="text" width="20%">县</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzghfff.editRow.xian" class="zs-input" />
                                </td>
                            </tr>
          					<tr>
                                <td class="text" width="20%">乡</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzghfff.editRow.xiang" class="zs-input" />
                                </td>
                            </tr>-->
          					<tr>
                                <td class="text" width="20%">村</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzghfff.editRow.cun" class="zs-input" />
                                </td>
                           
                                <td class="text" width="20%">组</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzghfff.editRow.zu" class="zs-input" />
                                </td>
                            </tr>
          					<tr>
                                <td class="text" width="20%">面积（亩）</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzghfff.editRow.mianji" class="zs-input" />
                                </td>
                            
                                <td class="text" width="20%">合同号</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzghfff.editRow.heth" class="zs-input" />
                                </td>
                            </tr>
          					<tr>
                                <td class="text" width="20%">兑现金额</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzghfff.editRow.dxje" class="zs-input" />
                                </td>
                           
                                <td class="text" width="20%">领款人</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzghfff.editRow.lkr" class="zs-input" />
                                </td>
                            </tr>
          					<tr>
                                <td class="text" width="20%">群众代表</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzghfff.editRow.qzdb" class="zs-input" />
                                </td>
                          
                                <td class="text" width="20%">领款日期</td>
                                <td class="left" width="30%">
                                	<ag-Datebox id='fi_lkrq'  showcurday='gzghfff.editRow.FIELD_ISNEW'
		                        		class="zs-input" style="width:175px;height: 28px"
		                        		ng-model="gzghfff.editRow.lkrq" >
							   		</ag-Datebox>
                                </td>
                            </tr>
          					<tr>
                                <td class="text" width="20%">备注</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzghfff.editRow.beizhu" class="zs-input" />
                                </td>
                           
                                <td class="text" width="20%">监督员</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzghfff.editRow.jdy" class="zs-input" />
                                </td>
                            </tr>
                        </tbody>
                        <tfoot>
                            <tr>
                                <td colspan="4">
                                    <input type="button" name="ok" value="保存" class="zs-btn c-red"
                                        ng-click="formValidate(form) && save('gzghfff', gzghfff.editRow, saveCloseWindow)"/>
                                    <input type="button" name="ok" value="取消" class="zs-btn c-green" 
                                        ng-click="closeWindow('edit')" />
                                </td>
                            </tr>
                        </tfoot>
                    </table>
                </form>
            </div>
        </div>
    </div>
</div>